// import { createApp } from 'vue'
// import App from './App.vue'

// createApp(App).mount('#app')


// main.ts
import { createApp } from 'vue'
//导入elementui
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//本地化
import zhCn from 'element-plus/es/locale/lang/zh-cn'
//导入路由
import router from './common/router.js'
import App from './App.vue'

const app = createApp(App)

//使用elmentui
app.use(ElementPlus, {
  locale: zhCn,
})
//使用路由
app.use(router)
app.mount('#app')